#!/bin/bash
PASSWD = "up"
echo $PASSWD | sudo -S apt-get update
sudo apt-get install openssh-client=1:7.6p1-4 -y
sudo apt-get install openssh-server -y
sudo service ssh start
# sudo echo "PermitRootLogin yes">>/etc/ssh/sshd_config
echo "PermitRootLogin yes" |sudo tee -a /etc/ssh/sshd_config
sudo systemctl enable ssh